package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author Shane
 * @since 2019-07-09
 */
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
//	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户唯一标识
	 */
	private String token;

	@TableField(value = "im_token")
	private String imToken;

	/**
	 * 微信唯一标识
	 */
	@TableField(value="wx_unionid")
	private String wxUnionid;

	/**
	 * qq唯一标识
	 */
	@TableField(value="qq_unionid")
	private String qqUnionid;

	/**
	 * 密码
	 */
	@TableField(value = "`password`")
	private String password;

	@TableField(value = "invite_code")
	private String inviteCode;

	/**
	 * 头像
	 */
	private String icon;

	/**
	 * 昵称
	 */
	@TableField(value = "`name`")
	private String name;

	/**
	 * 性别，0-女  1-男
	 */
	private Integer gender;

	/**
	 * 手机号
	 */
	private String phone;

	@TableField(value = "wx_no")
	private String wxNo;

	/**
	 * 生日
	 **/
	private Date birthday;

	private Integer height;

	private Integer weight;

	@TableField(value = "uss_id")
	private Integer ussId;

	@TableField(value = "city_code")
	private String cityCode;

	@TableField(value = "pro_id")
	private Integer proId;

	@TableField(value = "em_id")
	private Integer emId;

	/**
	 * 个性签名
	 */
	@TableField(value="persion_sign")
	private String persionSign;

	/**
	 * 支付宝名称
	 */
	@TableField(value="alipay_name")
	private String alipayName;

	/**
	 * 支付宝账号
	 */
	@TableField(value="alipay_no")
	private String alipayNo;

	/**
	 * 等级
	 */
	@TableField(value = "`level`")
	private Integer level;

	/**
	 * 在线状态，0-离线  1-勿扰  2-在聊  3-在线
	 */
	private Integer online;

	private String imei;

	@TableField(exist = false)
	private String lnglat;

	@TableField(value = "`role`")
	private Integer role;

	@TableField(value = "`status`")
	private Integer status;

	/**
	 *
	 */
	@TableField(value = "create_time")
	private Date createTime;

	@TableField(value = "update_time")
	private Date updateTime;

	public User() {
	}

	public User(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getToken() {
		return token;
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getWxUnionid() {
		return wxUnionid;
	}

	public void setWxUnionid(String wxUnionid) {
		this.wxUnionid = wxUnionid;
	}

	public String getQqUnionid() {
		return qqUnionid;
	}

	public void setQqUnionid(String qqUnionid) {
		this.qqUnionid = qqUnionid;
	}

	public String getWxNo() {
		return wxNo;
	}

	public void setWxNo(String wxNo) {
		this.wxNo = wxNo;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPersionSign() {
		return persionSign;
	}

	public void setPersionSign(String persionSign) {
		this.persionSign = persionSign;
	}

	public String getAlipayName() {
		return alipayName;
	}

	public void setAlipayName(String alipayName) {
		this.alipayName = alipayName;
	}

	public String getAlipayNo() {
		return alipayNo;
	}

	public void setAlipayNo(String alipayNo) {
		this.alipayNo = alipayNo;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getOnline() {
		return online;
	}

	public void setOnline(Integer online) {
		this.online = online;
	}

	public String getImToken() {
		return imToken;
	}

	public void setImToken(String imToken) {
		this.imToken = imToken;
	}

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public Integer getUssId() {
		return ussId;
	}

	public void setUssId(Integer ussId) {
		this.ussId = ussId;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public Integer getProId() {
		return proId;
	}

	public void setProId(Integer proId) {
		this.proId = proId;
	}

	public Integer getEmId() {
		return emId;
	}

	public void setEmId(Integer emId) {
		this.emId = emId;
	}

	public String getLnglat() {
		return lnglat;
	}

	public void setLnglat(String lnglat) {
		this.lnglat = lnglat;
	}

}
